﻿using Ah.Testudin.Engine.Actors;

using Microsoft.Xna.Framework;

namespace Ah.Testudin.Engine.Events
{
    public class ExplosionEvent : ITestudinEvent
    {
        #region Properties

        public Actor Actor { get; private set; }

        public float Radius { get; private set; }

        public float Force { get; private set; }

        public int Damage { get; private set; }

        #endregion

        #region Constructors

        public ExplosionEvent(
            Actor actor,
            float radius,
            float force,
            int damage)
        {
            this.Actor = actor;

            this.Radius = radius;

            this.Force = force;

            this.Damage = damage;
        }

        #endregion

        #region ITestudinEvent

        public EventType EventType
        {
            get { return EventType.Explosion; }
        }

        #endregion
    }
}
